/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ModelLayer;

/**
 *
 * @author Sharif
 */
public class Product {
    private int id;
    private String name;
    private double purchasePrice;
    private double salesPrice;
    private double rentPrice;
    private String countryOfOrigin;
    private int minStock;
    private int supplierId;

    public Product() {
	
    }

    public Product(int id, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, int supplierId)
    {
        this.id = id;
        this.name = name;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
        this.rentPrice = rentPrice;
        this.countryOfOrigin = countryOfOrigin;
        this.minStock = minStock;
        this.supplierId = supplierId;
    }

    /**
     * @return the name
     */
    public String getName()
    {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * @return the purchasePrice
     */
    public double getPurchasePrice()
    {
        return purchasePrice;
    }

    /**
     * @param purchasePrice the purchasePrice to set
     */
    public void setPurchasePrice(double purchasePrice)
    {
        this.purchasePrice = purchasePrice;
    }

    /**
     * @return the salesPrice
     */
    public double getSalesPrice()
    {
        return salesPrice;
    }

    /**
     * @param salesPrice the salesPrice to set
     */
    public void setSalesPrice(double salesPrice)
    {
        this.salesPrice = salesPrice;
    }

    /**
     * @return the rentPrice
     */
    public double getRentPrice()
    {
        return rentPrice;
    }

    /**
     * @param rentPrice the rentPrice to set
     */
    public void setRentPrice(double rentPrice)
    {
        this.rentPrice = rentPrice;
    }

    /**
     * @return the countryOfOrigin
     */
    public String getCountryOfOrigin()
    {
        return countryOfOrigin;
    }

    /**
     * @param countryOfOrigin the countryOfOrigin to set
     */
    public void setCountryOfOrigin(String countryOfOrigin)
    {
        this.countryOfOrigin = countryOfOrigin;
    }

    /**
     * @return the minStock
     */
    public int getMinStock()
    {
        return minStock;
    }

    /**
     * @param minStock the minStock to set
     */
    public void setMinStock(int minStock)
    {
        this.minStock = minStock;
    }

    /**
     * @return the supplierId
     */
    public int getSupplierId()
    {
        return supplierId;
    }

    /**
     * @param supplierId the supplierId to set
     */
    public void setSupplierId(int supplierId)
    {
        this.supplierId = supplierId;
    }

    /**
     * @return the id
     */
    public int getId()
    {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id)
    {
        this.id = id;
    }

    
}

